tdf#100501: Adapt to Java 9 (at least on Linux x86-64)
authorStephan Bergmann <sbergman@redhat.com>
Mon, 28 Aug 2017 13:35:43 +0000 (15:35 +0200)
committerRene Engelhard <rene@debian.org>
Tue, 29 Aug 2017 16:39:44 +0000 (17:39 +0100)
commitbae0b7fd4362dcfb982e075d37c0f7e9d424dee0
treec38e3667eb4e6d64d0eb022d0107021e6d1cf341
parentf6919a101c6da5285ade05534b0e62f1b93ada83
tdf#100501: Adapt to Java 9 (at least on Linux x86-64)

Checking with both jdk-9+181_linux-x64_bin.tar.gz and
jre-9+181_linux-x64_bin.tar.gz as currently available at
<http://jdk.java.net/9/> "JDK 9 Early-Access Builds":

For one, make SunVersion::init understand <http://openjdk.java.net/jeps/223>
"JEP 223: New Version-String Scheme" at least insofar as to accept strings like
"9" with less than three dot-separated segments (where the missing segments are
treated like "0").

For another, at least for Linux x86-64, libjvm.so is now apparently located in a
path without an "amd64" architecture segment, "lib/server/libjvm.so".  (But
could that also be "client"?)  Other platforms may need further adjustments.

Change-Id: Idcebc833472c81a1dc74dcdd481b0a37274a8713

Gbp-Pq: Name java9.diff
jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx